import request from "@/utils/request";

/**
 * 获取挂号费用列表
 */
export function getRegisterItemList() {
    return request({
        url: '/doctor-boot/api/v1/registered/getRegisteredItemList',
        method: 'get',
        headers: { "Content-Type": "application/json" }
    })
}

/**
 * 获取可挂号的科室
 */
export function getRegisteredDeptList() {
    return request({
        url: '/doctor-boot/api/v1/registered/getRegisteredDeptList',
        method: 'get',
        headers: { "Content-Type": "application/json" }
    })
}

/**
 * 添加挂号信息 
 * params: 
 */
export function addRegistration(registration: any) {
    return request({
        url: '/doctor-boot/api/v1/registered/addRegistration',
        method: 'post',
        data: registration,
    })
}
